<div class="employees" style="position:relative;overflow:hidden;display:block;">
    <h2>Dashboard</h2>
    <div class="columns" style="width:80%;margin-left:auto;margin-right:auto;">
        <div style="float:left;">
            <h2>Assigned Activities</h2>
            <?php foreach($assignedactivities as $assignedactivity): ?>
                <p>
                    Name: <?php echo $assignedactivity['Potential']['User']['firstname'] . " " . $assignedactivity['Potential']['User']['lastname'] ?>
                    <br>
                    Product: <?php echo $assignedactivity['Potential']['Product']['name']; ?>
                    <br>
                    Activity Type: <?php echo $assignedactivity['Activitytype']['name']; ?>
                    <br>
                </p>
            <?php endforeach; ?>
        </div>
        <div style="float:right;">
                <h2>Assigned Potentials</h2>
            <?php foreach($assignedpotentials as $assignedpotential): ?>
                <p>
                    Name: <?php echo $assignedpotential['User']['firstname'] . " " . $assignedpotential['User']['lastname'] ?>
                    <br>
                    Product: <?php echo $assignedpotential['Product']['name']; ?>
                    <br>
                    Type: <?php echo $assignedpotential['Potential']['type']; ?>
                    <br>
                </p>
            <?php endforeach; ?>
        </div>
    </div>
</div>